package com.ndp.fb.rdb.api;

import com.ndp.fb.rdb.model.Pager;
import com.ndp.fb.rdb.model.message.EventNotificationMessage;

/**
 * Created by elvisxiong on 7/23/15.
 */
 public interface EventNotificationMessageRdbService {

     EventNotificationMessage findUnReadEventNotificationMessageById(String id);

     Long save(EventNotificationMessage message);

     Long updateReadStatusById(String id);

     void delete(Long messageId);

     Pager<EventNotificationMessage> findUnReadEventNotificationMessageByUserId(String userId, Integer pageNow, Integer pageSize);

}
